package com.mz.mattress.client.common;

import cn.hutool.core.thread.NamedThreadFactory;
import com.mz.mattress.api.jwt.ClientJwt;
import io.netty.util.HashedWheelTimer;

import java.util.concurrent.TimeUnit;

public class Holder {

    public static final ThreadLocal<ClientJwt> CLIENT_JWT_THREAD_LOCAL = new ThreadLocal<>();

    public static final HashedWheelTimer DELAY_TIMER = new HashedWheelTimer(
            new NamedThreadFactory("delay-task", true), 2, TimeUnit.SECONDS, 128);

}
